package top.infopub.mgr.cap.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.generic.GenericDao;
import top.infopub.model.cap.PayBankAccount;
import top.infopub.model.cap.PayfeeApplyDetail;
import top.infopub.model.cap.PayfeeApplyInfo;
import top.infopub.model.cap.ReceiverBankAccount;

import java.util.List;

/** 融资付费申请明细(CAP_PAYFEE_APPLY_DETAIL) **/
@Repository
public interface PayfeeApplyDetailDao extends GenericDao<PayfeeApplyInfo, String> {

	/**
	 * 批量添加付费明细
	 */
    void insertByBatch(@Param("list")List<PayfeeApplyDetail> payfeeApplyDetails);


    /*融资付款子表详情*/
	List<PayfeeApplyInfo> queryDetailById(@Param("payfeeApplyId")String payfeeApplyId);
	/*收款银行账号*/
	List<ReceiverBankAccount> queryListReceiverAccounts();
	/*付款银行账号*/
	List<PayBankAccount> queryListPayAccounts();
}